package com.mall.commons;

import java.io.Serializable;

public class ShoppingCarts implements Serializable {

    private static final long serialVersionUID = 8750457611890711281L;

    private Long productId;
    private Integer productNum;
    private String checked;

    public ShoppingCarts() {
    }

    public ShoppingCarts(Long productId, Integer productNum, String checked) {
        this.productId = productId;
        this.productNum = productNum;
        this.checked = checked;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "ShoppingCarts{" +
                "productId=" + productId +
                ", productNum=" + productNum +
                ", checked='" + checked + '\'' +
                '}';
    }
}
